package com.dormitory.javadormitory.entity;

import java.sql.Timestamp;

public class Student {
    private int id;
    private String name;
    //专业
    private String classs;
    //入学时间
    private String enrollmentTime;
    //宿舍号
    private String bunkhouseName;

    private String sex;

    public Student() {
    }

    public Student(int id, String name, String classs, String enrollmentTime, String bunkhouseName, String sex) {
        this.id = id;
        this.name = name;
        this.classs = classs;
        this.enrollmentTime = enrollmentTime;
        this.bunkhouseName = bunkhouseName;
        this.sex = sex;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClasss() {
        return classs;
    }

    public void setClasss(String classs) {
        this.classs = classs;
    }

    public String getEnrollmentTime() {
        return enrollmentTime;
    }

    public void setEnrollmentTime(String enrollmentTime) {
        this.enrollmentTime = enrollmentTime;
    }

    public String getBunkhouseName() {
        return bunkhouseName;
    }

    public void setBunkhouseName(String bunkhouseName) {
        this.bunkhouseName = bunkhouseName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
